package com.trade.module.daq.entity;

import com.trade.module.base.entity.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Class Description: 采集记录实体类
 *
 * @Version v1.0 2017/6/17 12:11
 * @JDK version 1.8.0_51
 * @Author zfb
 */
@Entity
@Table(name = "daq_collect_record")
public class CollectRecord extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 4934432040908679380L;

    /** 任务id **/
    @Column(
            name = "task_id",
            length = 64
    )
    private String taskId;

    /***任务名称 taskName*/
    @Column(
            name = "task_name",
            length = 32
    )
    private String taskName;

    /*** 任务描述*/
    @Column(
            name = "task_dsc",
            length = 256
    )
    private String taskDsc;

    /*** 任务类型*/
    @Column(
            name = "task_type", //y定时 n即时
            length = 5
    )
    private String taskType;

    /*** 执行状态*/
    @Column(
            name = "execute_status", //1运行 2完成
            length = 5
    )
    private String executeStatus;

    /*** 采集量（条)*/
    @Column(
            name = "collect_quantity",
            length = 32)
    private long collectQuantity;

    /*** 执行耗时*/
    @Column(
            name = "execute_Time",
            length = 32
    )
    private String executeTime;

    /*** 目标库的id*/
    @Column(
            name = "target_db_id",
            length = 32
    )
    private String targetDBId;

    /*** 目标库的名称*/
    @Column(
            name = "target_db_name",
            length = 32
    )
    private String targetDBName;

    private String workId; //?????

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskDsc() {
        return taskDsc;
    }

    public void setTaskDsc(String taskDsc) {
        this.taskDsc = taskDsc;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getExecuteStatus() {
        return executeStatus;
    }

    public void setExecuteStatus(String executeStatus) {
        this.executeStatus = executeStatus;
    }

    public long getCollectQuantity() {
        return collectQuantity;
    }

    public void setCollectQuantity(long collectQuantity) {
        this.collectQuantity = collectQuantity;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime;
    }

    public String getTargetDBId() {
        return targetDBId;
    }

    public void setTargetDBId(String targetDBId) {
        this.targetDBId = targetDBId;
    }

    public String getTargetDBName() {
        return targetDBName;
    }

    public void setTargetDBName(String targetDBName) {
        this.targetDBName = targetDBName;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }
}
